// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SALES_SCHEDULER
// * CreateDate    : 2014-06-05 18:30:38
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:38
// * LastChanger   : 2014-06-05 18:30:38
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SalesSchedulerTable : TableInfo
    {
		public const string C_TableName = "SALES_SCHEDULER";
		
		public const string C_ID = "ID";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_USER_ID = "USER_ID";
		public const string C_APP_ALL_DAY = "APP_ALL_DAY";
		public const string C_APP_DESCRIPTION = "APP_DESCRIPTION";
		public const string C_APP_END = "APP_END";
		public const string C_APP_LABEL = "APP_LABEL";
		public const string C_APP_LOCATION = "APP_LOCATION";
		public const string C_APP_RECURRENCE_INFO = "APP_RECURRENCE_INFO";
		public const string C_APP_REMINDER_INFO = "APP_REMINDER_INFO";
		public const string C_APP_RESOURCE_ID = "APP_RESOURCE_ID";
		public const string C_APP_START = "APP_START";
		public const string C_APP_STATUS = "APP_STATUS";
		public const string C_APP_SUBJECT = "APP_SUBJECT";
		public const string C_APP_TYPE = "APP_TYPE";
		
		public SalesSchedulerTable()
        {
            _tableName = "SALES_SCHEDULER";
        }
		
		protected static SalesSchedulerTable _current;
        public static SalesSchedulerTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SalesSchedulerTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_USER_ID, new ColumnInfo(C_USER_ID,"UserId", false, typeof(string)));
            _current.Add(C_APP_ALL_DAY, new ColumnInfo(C_APP_ALL_DAY,"AppAllDay", false, typeof(bool)));
            _current.Add(C_APP_DESCRIPTION, new ColumnInfo(C_APP_DESCRIPTION,"AppDescription", false, typeof(string)));
            _current.Add(C_APP_END, new ColumnInfo(C_APP_END,"AppEnd", false, typeof(DateTime)));
            _current.Add(C_APP_LABEL, new ColumnInfo(C_APP_LABEL,"AppLabel", false, typeof(int)));
            _current.Add(C_APP_LOCATION, new ColumnInfo(C_APP_LOCATION,"AppLocation", false, typeof(string)));
            _current.Add(C_APP_RECURRENCE_INFO, new ColumnInfo(C_APP_RECURRENCE_INFO,"AppRecurrenceInfo", false, typeof(string)));
            _current.Add(C_APP_REMINDER_INFO, new ColumnInfo(C_APP_REMINDER_INFO,"AppReminderInfo", false, typeof(string)));
            _current.Add(C_APP_RESOURCE_ID, new ColumnInfo(C_APP_RESOURCE_ID,"AppResourceId", false, typeof(int)));
            _current.Add(C_APP_START, new ColumnInfo(C_APP_START,"AppStart", false, typeof(DateTime)));
            _current.Add(C_APP_STATUS, new ColumnInfo(C_APP_STATUS,"AppStatus", false, typeof(string)));
            _current.Add(C_APP_SUBJECT, new ColumnInfo(C_APP_SUBJECT,"AppSubject", false, typeof(string)));
            _current.Add(C_APP_TYPE, new ColumnInfo(C_APP_TYPE,"AppType", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo USER_ID
        {
            get { return this[C_USER_ID]; }
        }
		
		public ColumnInfo APP_ALL_DAY
        {
            get { return this[C_APP_ALL_DAY]; }
        }
		
		public ColumnInfo APP_DESCRIPTION
        {
            get { return this[C_APP_DESCRIPTION]; }
        }
		
		public ColumnInfo APP_END
        {
            get { return this[C_APP_END]; }
        }
		
		public ColumnInfo APP_LABEL
        {
            get { return this[C_APP_LABEL]; }
        }
		
		public ColumnInfo APP_LOCATION
        {
            get { return this[C_APP_LOCATION]; }
        }
		
		public ColumnInfo APP_RECURRENCE_INFO
        {
            get { return this[C_APP_RECURRENCE_INFO]; }
        }
		
		public ColumnInfo APP_REMINDER_INFO
        {
            get { return this[C_APP_REMINDER_INFO]; }
        }
		
		public ColumnInfo APP_RESOURCE_ID
        {
            get { return this[C_APP_RESOURCE_ID]; }
        }
		
		public ColumnInfo APP_START
        {
            get { return this[C_APP_START]; }
        }
		
		public ColumnInfo APP_STATUS
        {
            get { return this[C_APP_STATUS]; }
        }
		
		public ColumnInfo APP_SUBJECT
        {
            get { return this[C_APP_SUBJECT]; }
        }
		
		public ColumnInfo APP_TYPE
        {
            get { return this[C_APP_TYPE]; }
        }
		
		
		
	}
}

